MongoDB
PHP Manual

MongoDB::execute

(No version information available, might only be in CVS)

MongoDB::executeRuns JavaScript code on the database server.

Descripción

public array MongoDB::execute ( mixed $code [, array $args= array() ] )

Lista de parámetros

code

MongoCode or string to execute.

args

Arguments to be passed to code.

Valores retornados

Returns the result of the evaluation.


MongoDB
PHP Manual